<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class MY_Calendar extends CI_Calendar {

        public function week()
        {
                $week = array(
                    array('dayOfWeek' => 'Пн'),
                    array('dayOfWeek' => 'Вт'),
                    array('dayOfWeek' => 'Ср'),
                    array('dayOfWeek' => 'Чт'),
                    array('dayOfWeek' => 'Пт'),
                    array('dayOfWeek' => 'Сб'),
                    array('dayOfWeek' => 'Вс'));
                return $week;
        }

        public function bbbmonth($month = '', $year = '')
        {
                $cl = array();
                //$this->load->helper('date');
                $CI = &get_instance();
                $cl = $CI->wdb->calendarMonth($month, $year);
                return $cl;
        }

}
?>
